﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace NKD07.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            loadPublisher();
        }
        // load all categories from database 
        private void loadPublisher()
        {
            Classes.manufacturer manu = new Classes.manufacturer();
            DataTable manufacturer = manu.getAllManufacturer();
            idPublisher.DataSource = manufacturer;
            idPublisher.DataBind();
        }
    }
}